package com.doucat.support.component.permission;

/**
 * -----------------------------------------------------------------
 * Copyright (C) 2021-2031, by tonly, All rights reserved.
 * -----------------------------------------------------------------
 * File: PermissionInterface.java
 * Author: wangfy
 * Create: 2021/7/28 8:52
 */
public interface PermissionRequester {
    int REQUEST_CODE_PERMISSION = 0x00099;
    int ACTIVITY=0;
    int FRAGMENT=1;
    void requestPermissions(String[] permissions);
    void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults);
    void setPermissionListener(PermissionListener permissionListener);
}